package com.emapp.lccode.bean

import java.io.Serializable

data class ProjectJson(
    var type: String = "FeatureCollection",
    var features: ArrayList<Features> = arrayListOf()
) : Serializable {
    data class Features(var type: String = "Feature", var geometry: Geometry) : Serializable {
//        var geometry: Geometry = Geometry()

        data class Geometry(var type: String = "LineString",val coordinates: Any) : Serializable {
           // var coordinates: ArrayList<ArrayList<ArrayList<Double>>> = arrayListOf()
        }
    }
    //{"features":[{"geometry":{"coordinates":[[[117.228259,36.69525],[117.22830562411889,36.69538827340763],[117.22830562411889,36.69538827340763],[117.22830562411889,36.69538827340763],[117.22830562411889,36.69538827340763],[117.22830562411889,36.69538827340763],[117.22830562411889,36.69538827340763],[117.22830562411889,36.69538827340763],[117.22830562411889,36.69538827340763],[117.22830562411889,36.69538827340763],[117.22830562411889,36.69538827340763]],"type":"LineString"},"type":"Feature"}],"type":"FeatureCollection"}
}
